package com.sx.zongzhi.adapter;


import android.content.Context;

import com.sx.zongzhi.R;
import com.sx.zongzhi.bean.BusinessBean;
import com.zhy.adapter.abslistview.CommonAdapter;
import com.zhy.adapter.abslistview.ViewHolder;

import java.util.List;

/**
 * Created by XZY on 2017/1/26.
 * 业务信息的铁路字段adapter
 */
public class SpinnerBusinessAdapter extends CommonAdapter<BusinessBean.OrgsBean> {


    private Context context;

    public SpinnerBusinessAdapter(Context context, int layoutId, List<BusinessBean.OrgsBean> datas) {
        super(context, layoutId, datas);
        this.context=context;
    }

    @Override
    protected void convert(ViewHolder viewHolder,BusinessBean.OrgsBean item, int position) {
        viewHolder.setText(R.id.tv_Content,item.getOrgName());
    }
}
